package tec;
public class Repos extends PassagerAbstrait{

        public Repos(String nom, int destination, Comportement c) throws IllegalArgumentException{
		super(nom,destination,c);
	}
	
	protected final void choixPlaceMontee(Bus b){
		if(b.aPlaceAssise())
			b.demanderPlaceAssise(this);
		else
			b.demanderPlaceDebout(this);
	
	}

}
